﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
using KPIS.DBM;
using KPIS.GERP.GBMS.DAL;
using KPIS.GERP.GBMS.MODEL;
using KPIS.GERP.GBMS.DALFactory;
using KPIS.GERP.GBMS.IBLL;

namespace KPIS.GERP.GBMS.BLL
{
    public class BGMProjectPaymentReportBLL : IBGMProjectPaymentReportBLL
    {
        private static readonly IBGMProjectPaymentReportDAL dal = DataAccess.LoadProjectPaymentReport();

        public DataTable SearchReport(string strBgmYear, DateTime? dtStratDate, DateTime? dtEndDate, string strStratListseq, string strSubStratListseq)
        {
            return dal.SearchReport(strBgmYear, dtStratDate, dtEndDate, strStratListseq, strSubStratListseq);
        }

        public DataTable SearchReport2(string strBgmYear, string strStratListseq, string strSubStratListseq, string strProjSeq, string report2Type)
        {
            return dal.SearchReport2(strBgmYear, strStratListseq, strSubStratListseq, strProjSeq, report2Type);
        } 

        public DataTable LoadActStratList(string strBgmYear)
        {
            return dal.LoadActStratList(strBgmYear);
        }

        public DataTable LoadActSubStratList(string strBgmYear, string strStratListseq)
        {
            return dal.LoadActSubStratList(strBgmYear, strStratListseq);
        }

        public DataTable LoadProject(string strBgmYear, string strSubStratListseq)
        {
            return dal.LoadProject(strBgmYear, strSubStratListseq);
        }
    }

}